<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <?php echo $this->load->view('tp-admin/header'); ?>
    </head>
    <body id="login-bg"> 

        <!-- Start: login-holder -->
        <div id="login-holder">

            <!-- start logo -->
            <div id="logo-login">
                <a href="index.html"><img src="images/shared/logo.png" width="156" height="40" alt="" /></a>
            </div>
            <!-- end logo -->

            <div class="clear"></div>

            <!--  start loginbox ................................................................................. -->
            <div id="loginbox">
                <h1 style="margin-left:30px; padding-bottom:20px">ĐĂNG NHẬP ADMIN</h1>
                <!--  start login-inner --> 
               
                <div id="login-inner">
                     
            <?php echo form_open('admincp/home/login'); ?>
                   
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <th></th>
                            <td><?= $this->load->view('tp-admin/func/message')?></td>
                        </tr>
                        <tr>
                            <th>Username</th>
                            <td><input name="user_name" type="text"  class="login-inp" />  <?= form_error('user_name') ?></td>
                        </tr>
                        <tr>
                            <th>Password</th>
                            <td><input type="password" name="password"  onfocus="this.value=''" class="login-inp" /><?= form_error('password') ?></td>
                        </tr>

                        <tr>
                            <th></th>
                            <td><input value="Đăng nhập" type="submit" name="submit" class="submit-login"  /></td>
                        </tr>
                    </table>
                 <?= form_close() ?>
                </div>
                </div>
                <!--  end login-inner -->
                <div class="clear"></div>

            </div>
            <!--  end loginbox -->


            <!-- End: login-holder -->
    </body>
</html>